from yawhois.tld.tld_parser import tld_parser

class fi_parser(tld_parser):
  """fi tld parser"""
  _regex = {
      'domain_name': 'domain:\s?(.+)',
      'description': 'descr:\s?(.+)',
      'address': 'address:\s?(.+)',
      'phone': 'phone:\s?(.+)',
      'status': 'status:\s?(.+)',
      'issue_date': 'created:\s?(.+)',
      'expiration_date': 'expires:\s?(.+)',
      'soa': 'nserver:\s?(.+) \['
    }

  # setup this as a global variable in the class since whois for .fi domains do not report registar
  # in any other way
  registrar = "Ficora"
  
  _not_found_message = "Domain not found"
  
#eof